<!DOCTYPE html>
<meta charset="utf-8">
<title>Forced colors mode - visited caret-color with system color.</title>
<style>
  a {
    caret-color: GrayText;
    forced-color-adjust: none;
  }
  [contenteditable] {
    outline: none;
  }
</style>
<a id="link" contenteditable href="">link</a>
<script>
  window.onload = function() {
    document.getElementById("link").focus();
  }
</script>

